package com.itcast.java.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 品牌分类关联实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:31:58
 */
@Data
@TableName("pms_category_brand_relation")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "PmsCategoryBrandRelationEntity对象", description = "品牌分类关联")
public class PmsCategoryBrandRelationEntity implements Serializable{

private static final long serialVersionUID=1L;

                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "品牌id")
    @TableField("brand_id")
        private Long brandId;

        @ApiModelProperty(value = "分类id")
    @TableField("catelog_id")
        private Long catelogId;

    @TableField("brand_name")
        private String brandName;

    @TableField("catelog_name")
        private String catelogName;

        }